package com.zzz.system.service.exam;

import com.zzz.system.domain.exam.dto.ExamAddDTO;
import com.zzz.system.domain.exam.dto.ExamEditDTO;
import com.zzz.system.domain.exam.dto.ExamQueryDTO;
import com.zzz.system.domain.exam.dto.ExamQuestionAddDTO;
import com.zzz.system.domain.exam.vo.ExamDetailVO;
import com.zzz.system.domain.exam.vo.ExamVO;

import java.util.List;

/**
 * @BelongsProject: oj-project
 * @BelongsPackage: com.zzz.system.service.exam
 * @Author: zhai
 * @CreateTime: 2025-10-19  16:29
 * @Description: TODO 竞赛服务
 * @Version: 1.0
 */
public interface ExamService {
    List<ExamVO> list(ExamQueryDTO examQueryDTO);
    int add(ExamAddDTO examAddDTO);
    int delete(Long examId);
    int edit(ExamEditDTO examEditDTO);
    ExamDetailVO detail(Long examId);
    boolean addExamQuestion(ExamQuestionAddDTO examQuestionDTO);
    int questionDelete(Long examId, Long questionId);
    int publish(Long examId);
    int cancelPublish(Long examId);
}
